﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteMaster.Mobile.Master"
    Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        正在自动登录中......</h2>
    <%if (!ViewData.ContainsKey("Error"))
      { %>
    <a href="<%= ViewData["Url"]%>">如果没有自动跳转，请点击这里手动刷新</a>
    <script type="text/javascript">
        var redirectUrl = '<%=ViewData["Url"]%>';
        $(document).ready(function () {
            if (redirectUrl != '') {
                window.location.href = redirectUrl;
            }
        });
    </script>
    <%}
      else
      { %>
    <%=ViewData["Error"]%>
    <%} %>
</asp:Content>
